package edu.sctu.wujiayi.month06.day20150626.json_practiceone;

/**
 * Created by user11 on 2015/6/26.
 */
//public class MainJson {
//
//    public static void main(String[] args) throws IOException {
//        JsonUnit jsonUnit = new JsonUnit();
//
//        UrlJson urlJson = new UrlJson();
//
//        String json = urlJson.setGetUrl("http://api.ii.com.cn/goods/apprec");
//
//        JsonValue jsonValue = jsonUnit.shortJson(json);
//
////        System.out.println(jsonValue.error);
////
////        for (int i = 0; i < jsonValue.list.size(); i++) {
////            System.out.println(jsonValue.list.get(i).goods_introduce);
////            System.out.println(jsonValue.list.get(i).goods_id);
////        }
//    for (int i = 0;i<jsonValue.list.size();i++){
//        System.out.println(jsonValue.list.get(i).goods_id);
//        System.out.println(jsonValue.list.get(i).brand_id);
//        System.out.println(jsonValue.list.get(i).category_id);
//        System.out.println(jsonValue.list.get(i).goods_introduce);
//        System.out.println(jsonValue.list.get(i).goods_price);
//    }
//
//    }
//
//}
